package com.example.core.insertDeleteUpdateSelect.controller;

import com.example.core.insertDeleteUpdateSelect.service.InsertDeleteUpdateSelectService;
import com.example.core.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * @ClassName InsertDeleteUpdateSelect
 * @Author zhangzhaoyang
 * @Date 2019/11/6 14:20
 **/
@Controller
@RequestMapping("/insertDeleteUpdateSelect")
public class InsertDeleteUpdateSelect {

    @Autowired
    protected InsertDeleteUpdateSelectService service;

    /*查询select*/
    @RequestMapping(value = "/queryTable")
    @ResponseBody
    public Result  queryTable(){

        service.queryTable();

        return null;
    }


    /*增加insert*/
    /*修改update*/
    /*删除delete*/


}
